package org.example.server.impl;

import org.example.mapper.ClientBlankMapper;
import org.example.server.ClientBlankServer;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ClientBlankServerImpl implements ClientBlankServer {
    @Autowired
    ClientBlankMapper clientBlankMapper;
    @Override
    public void deleteById(Integer blankId) {
        clientBlankMapper.deleteById(blankId);
    }

    @Override
    public void save(Integer clientId, Integer blankId) {
        clientBlankMapper.save(clientId,blankId);
    }

    @Override
    public Integer[] getBlankIdsByClientId(Integer id) {
        return clientBlankMapper.getBlankIdsByClientId(id);
    }


}
